﻿<%@ Page Language="vb" AutoEventWireup="false" MasterPageFile="~/template/PSP/Master/Default.Master" CodeBehind="Blog.aspx.vb" Inherits="MeoTom.Web.Blog.Blog" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ctph" Runat="Server">
<div class="content-post fl">
        <h2 runat="server" id="TitleName"></h2>
        <div class="hr fl">&nbsp;</div>
        <asp:ListView ID="lstArticle" runat="server" DataSourceID="lqDataSource">
            <LayoutTemplate>
                <table runat="server" id="itemPlaceholderContainer">
                  <tr>
                    <td><div runat="server" id="itemPlaceholder"></div></td>
                  </tr>
                </table>
            </LayoutTemplate>        
            <ItemTemplate>
                <%#GenHtml(Eval("ArticlesID"), Eval("Title"), Eval("Abstract"), Eval("TotalComment"), Eval("ViewCount"), Eval("ArticlePath"), Eval("IsMedia"), Eval("IsPicture"), Eval("ReleaseDate"), Eval("UserName"), Eval("PostVisible"))%>               
                <script language="javascript" type="text/javascript">
                    Util.writeCatName(<%#Eval("ArticlesID")%>);
                </script>
            </ItemTemplate>
        </asp:ListView>
           
        <div class="post-footer">
            <asp:DataPager ID="dtPgArticle" runat="server" PagedControlID="lstArticle" PageSize="10" QueryStringField="Page">
                <Fields>               
                    <asp:NumericPagerField ButtonType="Link" />
                </Fields>
            </asp:DataPager>
            <asp:LinqDataSource ID="lqDataSource" runat="server">
            </asp:LinqDataSource>
        </div>
    </div>
</asp:Content>